package com.carsystem.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author ykl
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_returncar")
public class TReturncar implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "return_id", type = IdType.AUTO)
    private Integer returnId;

    @TableField("order_id")
    private Long orderId;

    @TableField("return_imageone")
    private String returnImageone;


    @TableField("return_imagetwo")
    private String returnImagetwo;


    @TableField("return_imagethree")
    private String returnImagethree;


    @TableField("return_imagefour")
    private String returnImagefour;


    @TableField("return_imagefive")
    private String returnImagefive;

    @TableField("compensation_amount")
    private BigDecimal compensationAmount;

    @TableField("return_state")
    private Integer returnState;

    @TableField("trueOrderDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date trueOrderDate;

    @TableField("trueReturnDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date trueReturnDate;


}
